laravel 8 Target class [FormController] does not exist.

116

laravel 8 Target class [FormController] does not exist. -

use App\Http\Controllers\UserController;

Route::get('/users', [UserController::class, 'index']);
// or
Route::get('/users', 'App\Http\Controllers\UserController@index');

Comments

Submit
0 Comments